package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商业区信息管理对象 zhwy_downtown
 * 
 * @author nhh
 * @date 2024-05-04
 */
public class ZhwyDowntown extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商业区id */
    private Long id;

    /** 商业区编号 */
    @Excel(name = "商业区编号")
    private String code;

    /** 商业区名称 */
    @Excel(name = "商业区名称")
    private String name;

    /** 商业区地址 */
    @Excel(name = "商业区地址")
    private String address;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long deleted;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("address", getAddress())
            .append("remark", getRemark())
            .append("deleted", getDeleted())
            .toString();
    }
}
